package com.jeesite.modules.exam.score.entity;

import javax.validation.constraints.Size;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 考核任务指标评分表-打分信息
 * @author xhc
 * @version 2022-06-01
 */
@Table(name="dc_sup_exam_score_info", alias="a", label="考核任务指标评分表-打分信息", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="score_id", attrName="scoreId", label="评分id"),
		@Column(name="score_source", attrName="scoreSource", label="评分来源", comment="评分来源（1汇总指标、2加减分项）"),
		@Column(name="quota_weight", attrName="quotaWeight", label="权数"),
		@Column(name="quota_id", attrName="quotaId", label="指标id", comment="指标id（包含：sum_quota_id、quota_add_id）"),
		@Column(name="quota_score", attrName="quotaScore", label="指标分数", isUpdateForce=true),
		@Column(name="score_reason", attrName="scoreReason", label="打分原因"),
		@Column(name="percentage", attrName="percentage", label="百分比", isUpdateForce=true)
	}, orderBy="a.update_date DESC"
)
public class DcSupExamScoreInfo extends DataEntity<DcSupExamScoreInfo> {
	
	private static final long serialVersionUID = 1L;
	 /**
	 * id
	 */
	private String scoreId;

	/**
	 * 单位（数学或物理方面的单位）
	 */
	private String quotaUnit;

	private String quotaId;
	/**
	 * 权数
	 */
	private Double quotaWeight;
	 /**
	 * 评分来源（1汇总指标、2加减分项）
	 */
	private String scoreSource;
	 /**
	 * 指标分数
	 */
	private Double quotaScore;
	 /**
	 * 打分原因
	 */
	private String scoreReason;


	/**
	 * 百分比
	 */
	private Double percentage;


	/**
	 * 被考核单位编码（单个）
	 */
	private String exameOrg;

	/**
	 * 被考核单位名称（单个）
	 */
	private String exameOrgName;

	public Double getPercentage() {
		return percentage;
	}


	public void setPercentage(Double percentage) {
		this.percentage = percentage;
	}

	public String getExameOrg() {
		return exameOrg;
	}

	public void setExameOrg(String exameOrg) {
		this.exameOrg = exameOrg;
	}

	public String getExameOrgName() {
		return exameOrgName;
	}

	public void setExameOrgName(String exameOrgName) {
		this.exameOrgName = exameOrgName;
	}

	public Double getQuotaWeight() {
		return quotaWeight;
	}

	public void setQuotaWeight(Double quotaWeight) {
		this.quotaWeight = quotaWeight;
	}

	public String getQuotaUnit() {
		return quotaUnit;
	}

	public void setQuotaUnit(String quotaUnit) {
		this.quotaUnit = quotaUnit;
	}

	public DcSupExamScoreInfo() {
		this(null);
	}

	public DcSupExamScoreInfo(String id){
		super(id);
	}

	public Double getQuotaScore() {
		return quotaScore;
	}

	public String getScoreId() {
		return scoreId;
	}

	public void setScoreId(String scoreId) {
		this.scoreId = scoreId;
	}

	public String getScoreSource() {
		return scoreSource;
	}

	public void setScoreSource(String scoreSource) {
		this.scoreSource = scoreSource;
	}

	public void setQuotaScore(Double quotaScore) {
		this.quotaScore = quotaScore;
	}

	public String getScoreReason() {
		return scoreReason;
	}

	public void setScoreReason(String scoreReason) {
		this.scoreReason = scoreReason;
	}

	public String getQuotaId() {
		return quotaId;
	}

	public void setQuotaId(String quotaId) {
		this.quotaId = quotaId;
	}
}